/*
	Eric Meyer's Reset CSS v2.0

	NOTICE: This copy of the CSS reset has been modified
	to make main tag "display: block" because the default in
	even IE 11 is "display: inline", which is not correct.
*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

body {
	font: 14px/1.25em 'Microsoft YaHei', '微软雅黑', Arial, Tahom, sans-serif;
}

code {
	font-family: 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace;
	padding: 0 3px;
	background-color: rgba(0, 0, 0, 0.04);
	border-radius: 3px
}

header {
	padding: 1.5%;
}

.intro {
	width: 50%;
	float: left;
}

h1 {
	font-size: 34px;
	font-weight: bold;
	line-height: 1.5em;
}

h2 {
	font-size: 24px;
	line-height: 1.3em;
}

p {
	margin-top: 20px;
	line-height: 1.5em;
}

a {
	color: #85AA43;
}

#brand {
	width: 40%;
	max-width: 400px;
	float: right;
	margin-left: 5%;
}

table {
	width: 100%;
	table-layout: fixed;
}

th {
	padding: 15px;
	background: #85AA43;
	text-align: center;
	color: #FFF;
	font-size: 20px;
}

th label {
	margin-left: 1em;
	font-size: 14px;
	cursor: pointer;
}

td {
	width: 50%;
	vertical-align: top;
}

#input,
#output {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;

	white-space: pre;
	width: 100%;
	display: block;
	padding: 3%;
	font: 14px/1.5em 'Consolas', 'Menlo', 'Monaco', 'Courier New', monospace;
	outline: none;
	border: none;
	resize: vertical;
	height: 500px;
	height: 65vh;
	overflow: scroll;
	tab-size: 4;
}

#input {
	background: #E8F2C4;
	border-right: 2px solid #AAA;
}

#output {
	background: #F7FBE7;
}

footer {
	color: #888;
	text-align: center;
	padding: 75px 0 50px;
	line-height: 2em;
}

.clr-red {
	color: #CC0000;
}

.clear {
	clear: both;
}


@media (max-width: 1000px) {
	header {
		padding: 4%;
	}

	.intro,
	#brand {
		float: none;
		width: 100%;
	}

	#brand {
		margin: 40px auto;
		display: block;
	}
}